﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PEUtils;
using UnityEngine;

namespace HotFix
{
    class TestCor
    {
        public static void RunTest()
        {
            PELog.InitSettings(new LogConfig() { loggerEnum = LoggerType.Unity });
            GameStart.Instance.StartCoroutine(Corutine());
            
        }

        static System.Collections.IEnumerator Corutine()
        {
            PELog.ColorLog(LogColor.Cyan, "开始协程，t = " + Time.time);
            yield return new WaitForSeconds(3f);
            PELog.ColorLog(LogColor.Cyan, "结束协程，t = " + Time.time);
        }
    }
}
